package test.yzx.pproject.service;

import android.app.AlertDialog;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;

public class TempService extends Service {

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {

        new AlertDialog.Builder(this).setMessage("xxx").show();


        return super.onStartCommand(intent, flags, startId);
    }

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }
}
